﻿using System;
namespace PBOffice.Model
{
	/// <summary>
    /// LoginLog:登录日志表(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class LoginLog
	{
		public LoginLog()
		{}
		#region Model
		private int _loginid;
		private string _userid;
		private DateTime _logintime;
		private int _ifsuccess;
		private string _loginuserip;
		private string _logindesc;
		/// <summary>
        /// 登录日志id
		/// </summary>
		public int LoginId
		{
			set{ _loginid=value;}
			get{return _loginid;}
		}
		/// <summary>
		/// 登录者，外键关联员工编号
		/// </summary>
		public string UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
        /// 登录时间
		/// </summary>
		public DateTime LoginTime
		{
			set{ _logintime=value;}
			get{return _logintime;}
		}
		/// <summary>
		/// 登录是否成功。1：成功、0 失败。
		/// </summary>
		public int IfSuccess
		{
			set{ _ifsuccess=value;}
			get{return _ifsuccess;}
		}
		/// <summary>
        /// 登录用户IP
		/// </summary>
		public string LoginUserIp
		{
			set{ _loginuserip=value;}
			get{return _loginuserip;}
		}
		/// <summary>
        /// 登录备注
		/// </summary>
		public string LoginDesc
		{
			set{ _logindesc=value;}
			get{return _logindesc;}
		}
		#endregion Model

	}
}

